using System;
using Facebook.Fluent;
using Facebook.Fluent.Fields;

namespace Facebook.Fluent
{
    public class WhereFluentInterface<Table>
    {
        public FQLQuery Query { get; set; }

        public WhereFluentInterface(FQLQuery query)
        {
            Query = query;
        }

        public ComparisonOperator<Table> Where(Enum field)
        {
            Query.AddWhere(field);
            return new ComparisonOperator<Table>(Query);
        }

    }
}